package cn.tedu.tmall.front.mall.dao.persist.mapper;

import cn.tedu.tmall.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.tmall.front.mall.pojo.entity.ReceiverAddress;
import cn.tedu.tmall.front.mall.pojo.vo.ReceiverAddressListItemVO;
import cn.tedu.tmall.front.mall.pojo.vo.ReceiverAddressStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReceiverAddressMapper extends BaseMapper<ReceiverAddress> {
    //查询单个收货地址
    ReceiverAddressStandardVO selectById(Long id);
    //查询收货地址列表
    List<ReceiverAddressListItemVO> listByUserId(Long userId);
}
